Average sentence length |
---|
21.0083 |
sentence length | percentage |
---|---|
2 | 0.0033 |
3 | 0.1100 |
4 | 0.3567 |
5 | 1.0367 |
6 | 1.2000 |
7 | 1.6433 |
8 | 2.1200 |
9 | 2.6633 |
10 | 3.3467 |
11 | 3.6733 |
12 | 3.5000 |
13 | 3.9567 |
14 | 4.6033 |
15 | 4.4467 |
16 | 4.2333 |
17 | 3.8467 |
18 | 3.8333 |
19 | 4.5633 |
20 | 3.6967 |
21 | 3.6533 |
22 | 4.1833 |
23 | 3.1667 |
24 | 3.0300 |
25 | 3.5433 |
26 | 2.9933 |
27 | 2.3133 |
28 | 2.3233 |
29 | 2.2100 |
30 | 2.0433 |
31 | 1.9967 |
32 | 1.6533 |
33 | 2.2533 |
34 | 2.3100 |
35 | 1.3233 |
36 | 1.1867 |
37 | 1.0167 |
38 | 1.0133 |
39 | 0.8333 |
40 | 0.7533 |
41 | 0.6500 |
42 | 1.5200 |
43 | 0.3700 |
44 | 0.3033 |
45 | 0.2233 |
46 | 0.1200 |
47 | 0.0900 |
48 | 0.0533 |
49 | 0.0267 |
50 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters